NotateXpress 13 for ActiveX - User Guide > How To > Define End-User Interface > Configure Menus |
Menus provide the application programmer with the ability to specify the options given to end-users. Each tool within the NotateXpress™ toolbar has a menu, which can be configured to enable an application end-user to specify tool attributes. Menus are defined globally; the same menus are used on all layers.
Menus have a two-tiered item structure. Each item in the top-level menu can have a corresponding sub-level, which provides additional options to the user.
The application programmer can configure the tool and context menus using the "Menu" methods (e.g. MenuGetFirstItemId, MenuSetItemEnabled, etc.).
When the user right-clicks on a toolbar menu, NotateXpress displays only the relevant items associated with that menu. The MenuSelect event raises when a menu item selection is made on one of the right-click menus. This event is the trigger for the application to present a selection dialog to the end-user, if appropriate. These selection dialogs provide the application end-user with the ability to specify annotation appearance, such as color and font.